package com.mvp.method2.imvp.login;

import com.hhx.baselibrary.bean.BaseResponse;
import com.hhx.test_library.bean.Login;
import com.mvp.method2.imvp.BasePresenter;
import com.mvp.method2.imvp.BaseView;

import java.util.HashMap;

/**
 * Created by Administrator on 2019/3/19.
 */

public interface LoginContract {

    interface View extends BaseView {

        void refreshSuccess(BaseResponse<Login> baseResponse);

        void refreshFailed(String msg);

    }

    abstract class Presenter extends BasePresenter<View> {

        public abstract void login(HashMap<String, Object> map);

    }

}
